package com.crx.springbootinit.model.dto.user;

import com.crx.springbootinit.model.dto.page.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author 谢杭延
 * @Date 2024-10-31 21:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "分页查询用户DTO")
@EqualsAndHashCode(callSuper = true)
public class UserPageDTO extends PageQuery {
//    @ApiModelProperty(value = "手机号")
//    private String phone;
//
    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "角色")
    private Integer role;

    @ApiModelProperty(value = "角色状态")
    private Integer roleStatus;

    @ApiModelProperty(value = "昵称")
    private String nickname;

//    @ApiModelProperty(value = "性别")
//    private String gender;
}
